<?php use_javascript('contact.js')?>
<?php use_javascript('accountCustomer.js')?>
<?php use_javascript('accountSupplier.js')?>
<?php use_javascript('accountOwner.js')?>
<?php use_javascript('invoice.js')?>
<div class="module_title">Invoices/DR</div>
<div id="invoiceMenuBar" class="menu_bar">
  <?php echo link_to('New', 'contact/search',array('class'=>'menu_unselected','id'=>'menuInvoiceNew',))?>
  <?php echo link_to('Search', 'invoice/search',array('class'=>'menu_unselected','id'=>'menuInvoiceSearch',))?>
</div>
<div id="<?php echo sfConfig::get('app_windows_main_id')?>" class="<?php echo sfConfig::get('app_windows_main_class')?>">
</div>
<div id="<?php echo sfConfig::get('app_windows_contact_panel_id')?>" style="display:none">
</div>

<script language="javascript">
  $(document).ready(
    function(){
      invoiceIndexLoad();
    }
  );
</script>